package model

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	Name  string `gorm:"type:varchar(30)"json:"name"`
	Title string `gorm:"type:varchar(30)"json:"title"`
	Num   int    `gorm:"type:int"json:"num"`
	Like  int    `gorm:"type:int"json:"like"`
}

type Member struct {
	gorm.Model
	Right  string `gorm:"type:varchar(30)"json:"right"`
	Money  int    `gorm:"type:int"json:"money"`
	Status string `gorm:"type:varchar(50)"json:"status"`
}

type Venue struct {
	gorm.Model
	Membername string `gorm:"type:varchar(30)"json:"membername"`
	Time       string `gorm:"type:varchar(30)"json:"time"`
	Title      string `gorm:"type:varchar(50)"json:"title"`
	Desc       string `gorm:"type:varchar(30)"json:"desc"`
}
